package com.example.entity.exception;

/**
 * @Author ZHAO Yudong
 * @Date 2020/10/23 10:46
 * @description：返回码
 */

public enum Code {

    SUCCESS(200, "成功");

    public final Integer code;
    public final String msg;

    Code(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }


}
